Skip to main content
PATCH
/
customers
/
{customerId}
cURL
curl --request PATCH \
  --url https://sandbox.veritusagent.ai/api/v1/customers/{customerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "middleName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "primaryPhone": "<string>",
  "secondaryPhone": "<string>",
  "ssnLastFour": "<string>",
  "dateOfBirth": "2023-12-25",
  "address": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zip": "<string>"
  },
  "collections": {
    "principalBalance": 1,
    "originalCreditor": "<string>",
    "accruedInterestAmount": 1,
    "totalBalance": 1,
    "chargeOffDate": "2023-12-25",
    "firstDelinquencyDate": "2023-12-25",
    "settlementAggregationRate": 1,
    "originalAccountNumber": "<string>",
    "itemizationBalance": 1,
    "postItemizationInterest": 1,
    "postItemizationFees": 1,
    "postItemizationCredits": 1,
    "postItemizationPayments": 1,
    "productType": "<string>",
    "originalProductType": "<string>"
  }
}
'
{
  "requestId": "96b887fb-9371-4515-b51e-28434f58dd7e",
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "externalId": "CUST-12345",
    "firstName": "Jane",
    "middleName": "Marie",
    "lastName": "Doe",
    "email": "[email protected]",
    "primaryPhone": "+12025551234",
    "secondaryPhone": "+12025555678",
    "address": {
      "line1": "456 Oak Ave",
      "line2": "Unit 12",
      "city": "Washington",
      "state": "DC",
      "zip": "20001"
    },
    "collections": {
      "principalBalance": 4500,
      "originalCreditor": "ABC Bank",
      "accruedInterestAmount": 250.5,
      "totalBalance": 4750.5,
      "chargeOffDate": "2023-01-15",
      "firstDelinquencyDate": "2022-06-01",
      "settlementAggregationRate": 0.65,
      "originalAccountNumber": "4111111111111111",
      "itemizationBalance": 4500,
      "postItemizationInterest": 150.25,
      "postItemizationFees": 100.25,
      "postItemizationCredits": 50,
      "postItemizationPayments": 200,
      "productType": "Credit Card",
      "originalProductType": "Visa Signature"
    },
    "ssnLastFour": "1234",
    "dateOfBirth": "1985-03-15"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerId
string<uuid>
required

The unique identifier of the customer to update

Body

application/json
firstName
string

The first name of the customer.

middleName
string

The middle name of the customer.

lastName
string

The last name of the customer.

email
string

The email address of the customer.

primaryPhone
string

The primary phone number of the customer. (E.164 format)

secondaryPhone
string | null

The secondary phone number of the customer. (E.164 format)

ssnLastFour
string | null

The last four digits of the customer's Social Security Number.

Required string length: 4
dateOfBirth
string<date> | null

The date of birth of the customer. YYYY-MM-DD format.

address
object

The address of the customer.

collections
object

Collections account information for the customer.

Response

Customer successfully updated

requestId
string<uuid>
required

The request identifier.

success
boolean
required

Whether the update operation completed successfully.

data
object
required

The updated customer object.